package com.live.common;

import com.live.tools.LiveTools;

import android.os.Environment;

public class Constant {
	private static String locale = LiveTools.getLocaleLanguage();

	public static final String ALBUM_PATH = Environment.getExternalStorageDirectory() + "/live/avatar/";

	public static final String ALBUM_TEMP_PATH = Environment.getExternalStorageDirectory() + "/live/avatar/tmp/";

	public static final String HOME_URL = "http://www.live-se.com/";

	public static final String SITE_URL = "http://client.live-se.com/";

	public static final String UPGRADE_URL = "http://version.live-se.com/";

	public static final String DOWNLOAD_URL = "http://download.live-se.com/";

	public static final String VIDEO_URL = "http://active.3b2o.com:8090/php/video/ajax.php?action=down&jsonp=v.show_down_true&id=";

	public static final String SITE_AVATAR_PATH = "user/avatar/";

	public static final String PREFS_NAME = "com.live.match";

	// the IP address, where your MQTT broker is running.
	public static final String MQTT_HOST = "push.live-se.com";
	// the port at which the broker is running.
	public static int MQTT_BROKER_PORT_NUM = 1883;

	public static final String PREF_STARTED = "isStarted";

	public static final String DATA_PATH = "data/";

	public static final String SUCCESS = "success";

	public static final String FAILD = "faild";

	public static final int LOGIN = 1;

	public static final int LOGOUT = 0;

	public static final String USER_SEX_MAN = "男";

	public static final String USER_SEX_WOMAN = "女";

	public static final String YES = "是";

	public static final String NO = "否";

	public static final String Y = "Y";

	public static final String N = "N";

	public static final String INPUT = "1";

	public static final String OUTPUT = "0";

	public static final int VISIBLE = 0;

	public static final int INVISIBLE = 4;

	public static final String UPGRADE_VERSION = "V1.0.8";

	public static final String UPGRADE_VERSION_MSG = LiveTools.tradToSimp("发现新版本，是否要升级？", locale);

	public static final String LOAD_DATA = LiveTools.tradToSimp("数据加载中，请稍候。", locale);
	public static final String PWD_DIFF = LiveTools.tradToSimp("两次输入的密码不同，请重新输入！", locale);
	public static final String EXIT_INFO = LiveTools.tradToSimp("是否要退出比分直播？", locale);

	public static final String ACTION_SELECT = "R";
	public static final String ACTION_INSERT = "C";
	public static final String ACTION_DELETE = "D";
	public static final String ACTION_UPDATE = "U";

	public static final String ACTION_REMOVE = "-1";
	public static final String ACTION_APPLY = "0";
	public static final String ACTION_ALLOW = "1";

	public static final String MATCH_STATUS_1 = LiveTools.tradToSimp("未开始", locale);
	public static final String MATCH_STATUS_2 = LiveTools.tradToSimp("进行中", locale);
	public static final String MATCH_STATUS_3 = LiveTools.tradToSimp("直播中", locale);
	public static final String MATCH_STATUS_4 = LiveTools.tradToSimp("已结束", locale);

	public static final String REGEX_MAIL = "\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*";

	public static final int REQUEST_CODE = 1;

	public static final String RELOAD = "Y";

	public static final int PAGE_SIZE = 20;

	public static final String NUM_ZERO = "0";

	public static final String MESSAGE_TYPE_R = "(新回复)";

	public static final String MESSAGE_TYPE_M = "(新留言)";

	public static final String MESSAGE_TYPE_F = "(新好友)";

}
